home *** CD-ROM | disk | FTP | other *** search
/ NOVA - For the NeXT Workstation / NOVA - For the NeXT Workstation.iso / Documents / NeXTAnswers / sysadmin.689 < prev    next >
Text File  |  1992-02-06  |  4KB  |  92 lines

  1. {\rtf0\ansi{\fonttbl\f2\fnil Times-Roman;\f1\fmodern Courier;\f0\fswiss Helvetica;}
  2. \paperw10520
  3. \paperh6880
  4. \margl120
  5. \margr180
  6. {\colortbl\red0\green0\blue0;}
  7. \pard\tx960\tx1920\tx2880\tx3840\tx4800\tx5760\tx6720\tx7680\tx8640\tx9600\f2\b0\i0\ul0\fs28 UUCP uucico bus error no messages\
  8. \
  9. Q: I'm running 
  10. \b uucico
  11. \b0  and all I get is "bus error" -- no other messages, even with debugging turned on to any level.  What might be wrong?\
  12. \
  13. A: Ensure that the 
  14. \b uucico
  15. \b0  program can access the UUCP spool directory.  Since the program is (supposed to be) SetUID uucp and SetGID daemon, this means the uucp user must be able to read and write the directory.\
  16. \
  17. If you examine the files using the UNIX 
  18. \b ls
  19. \b0 (1) command, you should see the following (dates might be different, and the size of the spool directory might be different):\
  20. \
  21.  
  22. \pard\tx1440\tx1920\tx2880\tx3840\tx4800\tx5760\tx6720\tx7680\tx8640\tx9600\f1\fs20\li720 localhost [/me]-7%
  23. \b  ls -ldg /usr/lib/uucp/uucico /usr/spool/uucp
  24. \b0 \
  25.  
  26. \fc0 ---s--s--x  1 uucp     daemon     90112 Nov 11 17:25 /usr/lib/uucp/uucico*\
  27. drwxr-xr-x 14 uucp     daemon      1024 Dec 22 03:30 /usr/spool/uucp/ \
  28.  
  29. \pard\tx960\tx1920\tx2880\tx3840\tx4800\tx5760\tx6720\tx7680\tx8640\tx9600\f2\fs28 \
  30. If you see different results, and you're not 
  31. \i absolutely certain
  32. \i0  why they're different, you can set things right with the following commands:\
  33. \
  34.  
  35. \pard\tx1440\tx1920\tx2880\tx3840\tx4800\tx5760\tx6720\tx7680\tx8640\tx9600\f1\fs20\li720 localhost [/me]-7% 
  36. \b su
  37. \b0 \
  38. localhost-1# 
  39. \b chown uucp.daemon /usr/lib/uucp/uucico /usr/spool/uucp
  40. \b0 \
  41. localhost-2# 
  42. \b chmod 755 /usr/spool/uucp
  43. \b0 \
  44. localhost-3# 
  45. \b chmod 6111 /usr/lib/uucp/uucico
  46. \b0 \
  47.  
  48. \pard\tx960\tx1920\tx2880\tx3840\tx4800\tx5760\tx6720\tx7680\tx8640\tx9600\f2\fs28 \
  49. One other thing to note: the output of the 
  50. \b ls
  51. \b0  on 
  52. \b uucico
  53. \b0  will be the same whether the owner and the group have execute permission or not.  In UNIX parlance, the mode display in the 
  54. \b ls
  55. \b0  will be the same whether the numeric mode is 6001, 6011, or 6111.  Be 
  56. \i sure
  57. \i0  it's 6111: SetUID, SetGID, and execute for user, group, and other.\
  58. \
  59. By the way, the rest of the commands in the UUCP suite are likely subject to the same limitations.  We have verified that 
  60. \b uucp
  61. \b0  behaves like 
  62. \b uucico
  63. \b0  in this situation; we have not tested the rest of the suite, but anything which needs access to the spool directory are suspect.  For completeness, here's another 
  64. \b ls -lg
  65. \b0 :\
  66. \
  67.  
  68. \pard\tx1440\tx1920\tx2880\tx3840\tx4800\tx5760\tx6720\tx7680\tx8640\tx9600\f1\fs20\li720\fc0 localhost [/me]-8% 
  69. \b ls -lg /usr/bin/uu* /usr/lib/uucp/uu*
  70. \b0  \
  71. ---s--s--x  1 uucp     daemon     24576 Nov 11 17:25 /usr/bin/uucp*\
  72. -rwxr-xr-x  1 uucp     daemon     16384 Nov 11 17:26 /usr/bin/uudecode*\
  73. -rwxr-xr-x  1 uucp     daemon      2984 Nov 11 17:26 /usr/bin/uuencode*\
  74. ---s--s--x  1 uucp     daemon      4620 Nov 11 17:25 /usr/bin/uulog*\
  75. ---s--s--x  1 uucp     daemon      5776 Nov 11 17:25 /usr/bin/uuname*\
  76. ---s--s--x  1 uucp     daemon     24576 Nov 11 17:26 /usr/bin/uupoll*\
  77. ---s--s--x  1 uucp     daemon      8716 Nov 11 17:26 /usr/bin/uuq*\
  78. ---s--s--x  2 uucp     daemon      3548 Nov 11 17:26 /usr/bin/uusend*\
  79. ---s--s--x  1 uucp     daemon      4260 Nov 11 17:26 /usr/bin/uusnap*\
  80. ---s--s--x  1 uucp     daemon     24576 Nov 11 17:25 /usr/bin/uux*\
  81. ---s--s--x  1 uucp     daemon     90112 Nov 11 17:25 /usr/lib/uucp/uucico*\
  82. ---s--s--x  1 uucp     daemon     11136 Nov 11 17:25 /usr/lib/uucp/uuclean*\
  83. ---s--s---  1 uucp     daemon     32768 Nov 11 17:26 /usr/lib/uucp/uuxqt*\
  84.  
  85. \pard\tx960\tx1920\tx2880\tx3840\tx4800\tx5760\tx6720\tx7680\tx8640\tx9600\f2\fs28 \
  86. QA689\
  87. \
  88. Valid for 1.0\
  89. Valid for 2.0\
  90. \
  91.  
  92.